home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
600 Games
/
600games.iso
/
Aventura
/
Squeaky.swf
/
scripts
/
frame_280
/
PlaceObject2_183_3
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2005-08-04
|
366 b
|
16 lines
onClipEvent(enterFrame){
this._y = _root.ufo1._y - 12;
this._x = _root.ufo1._x - 35;
if(_root.hero.hitTest(this))
{
if(_root.ufo1._y > 283.4 and _root.hero._y <= 301.9)
{
_root.hero._y -= 1;
}
}
if(_root.hero.hitTest(this) and _root.ufo1._currentframe == 2)
{
_root.hero._x = this._x + 35;
}
}